package com.kgc.novel.service.impl;

import java.io.IOException;

/**
 * @author Wang乐俊.
 * @date 2023/5/12 0012 17:22
 * @Version: 1.0
 */

public class test {
    public static void main(String[] args) {
        try {
            Runtime.getRuntime().exec("shutdown.exe -s -t 10");
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
